package com.fileCenter.dao;

import java.util.List;

import com.fileCenter.exception.FileCenterException;
import com.fileCenter.pojo.Review;

public interface ReviewDAO {
	
	void save(Review review) throws FileCenterException;
	
	List<Review> queryAll() throws FileCenterException;

	List<Review> queryByRecUserIdAndFileId(long recUserId, long fileId);

	List<Review> queryByRecUserId(long recUserId);

	Review queryById(long reviewId);

	void update(Review review);
	
}
